<?php
/**
 * Created by PhpStorm.
 * User: ZhangWei
 * Date: 2018/1/14
 * Time: 13:52
 */

namespace App\Helpers;


class NumberTool
{
    public static function number2million($val){
        if ($val>10000){
            return number_format($val/10000,1).'万';
        }else{
            return $val;
        }
    }

}